// store/gitStore.js
import { defineStore } from 'pinia'
class Task{
  constructor(
    public id: string,
    public name: string,
    public command: string,
    public filePath: string[],
    public label: string,
    public message: string
  ) {}
}
export const useTaskStore = defineStore('task', {
  state: (): { isExecuting: boolean } => ({
    isExecuting: false
  }),
  actions: {
    setExecuting(value: boolean): void {
      this.isExecuting = value
    }
  }
})
